<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>档案后台管理系统</title>   

<link href="__PUBLIC__/skin/css.css" type="text/css" rel="stylesheet">  

<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

<meta name="format-detection" content="telephone=no">

<meta name="apple-mobile-web-app-capable" content="yes">

<meta name="apple-mobile-web-app-status-bar-style" content="black">

<meta name="full-screen" content="yes">

<meta name="x5-fullscreen" content="true"> 

</head>  

<body>  
<div class="topbox">

    <div class="topbox01" style="line-height: 60px; font-size: 30px;">
        档案后台管理系统
    </div>

    <div class="topbox02" style="padding-right:62px; " title="退出登录" onClick="javascript:window.location.href='{:url('admin/login/out')}';">

      <span>&#xe638;</span>

      <em>退出管理</em>

    </div>

     <div class="topbox03">         

        <div class="topbox03_2"><font id="time"></font><font id="week"></font></div>

        <div class="topbox03_3">{:session('UserName')}<font style="font-size:12px; color:#999;">［{$levername}］</font></div>

    </div>

</div>

<div class="contaiter">
	<div class="main_left">
    	<div class="layui-nav showdiv"  lay-filter="side">
          <h2><span>&#xe630;</span><em>导航菜单</em><i style="display: none;">&#xe697;</i></h2>
            <li class="layui-nav-item">
                <a href="javascript:;"><span>&#xe60a;</span><em>设置</em></a> 
                <dl class="layui-nav-child">
                    <dd title="角色管理">
                      <a href="javascript:;"  _href="{:url('admin/group/index')}"><cite>角色管理</cite></a>   
                    </dd>   
                    <dd title="管理员管理">
                      <a href="javascript:;" _href="{:url('admin/admin/index')}"><cite>管理员管理</cite></a>
                    </dd>           
                    <dd title="登录日记">
                      <a href="javascript:;"  _href="{:url('admin/log/index')}"><cite>登录日记</cite></a>   
                    </dd>
                    <dd title="密码修改">
                      <a href="javascript:;"  _href="{:url('admin/admin/mypass')}"><cite>密码修改</cite></a>   
                    </dd>
                    <dd title="站点设置">
                      <a href="javascript:;"  _href="{:url('admin/website/index')}"><cite>站点设置</cite></a> 
                    </dd>
                    <dd title="分类管理">
                      <a href="javascript:;"  _href="__ROOT__/admin/category/index/"><cite>分类管理</cite></a> 
                    </dd>
                    <dd  title="文件管理"><a href="javascript:;"  _href="{:url('admin/files/index')}"><cite>文件管理</cite></a></dd>
                    <dd  title="广告管理"><a href="javascript:;" _href="{:url('admin/ad/index')}"><cite>广告管理</cite></a></dd>
                </dl>  
            </li>   
        </div>      
    </div>

    <div class="main_left_1">

        <h2>&#xe74a;</h2>

        <div>

           系<br/>统<br/>导<br/>航<br/>

        </div>

    </div>

    <div class="main_right layui-tab"  lay-filter="x-tab" lay-allowclose="true">

    	<ul class="layui-tab-title">

        	<li class="layui-this">

                 我的桌面

            </li>

        </ul>	

        <div class="layui-tab-content">

            <div class="layui-tab-item layui-show">

                <iframe frameborder="0" src="{:url('admin/main/index')}" class="x-iframe"></iframe>

            </div>

        </div>

    </div>	

    <div class="quanping" title="全屏" style="display:none;">&#xe713;</div>    

</div>

<script src="__PUBLIC__/js/jquery-1.10.2.min.js" type="application/javascript"></script>

<script src="__PUBLIC__/js/jqtab.js" type="application/javascript"></script>

<script src="__PUBLIC__/js/layui/layui.js" charset="utf-8"></script>

<script src="__PUBLIC__/js/x-admin.js"></script>

<script>

function currentTime(){

	 var d = new Date(),str = ''; 	

	 //str += d.getFullYear()+'年'; 

	 str += d.getMonth() + 1+'月'; 

	 str += d.getDate()+'日'; 

	 str += d.getHours()+':'; 

	 str += d.getMinutes()+':'; 

	 str+= d.getSeconds(); 

	 return str; 	 

} 

function week(){

  var mydate = new Date();

  day = mydate.getDay();

  switch(day){

	case 1: weekday = "星期一"; break;

	case 2: weekday =  "星期二"; break;

	case 3: weekday =  "星期三"; break;

	case 4: weekday =  "星期四"; break;

	case 5: weekday =  "星期五"; break;

	case 6: weekday =  "星期六"; break;

	default: weekday =  "星期日"; break;  

  }	

  $('#week').html(' '+weekday)

}

setInterval(function(){$('#time').html(currentTime)},1000);

week();



layui.use(['laypage', 'layer'], function(){ //独立版的layer无需执行这一句

  var $ = layui.jquery,laypage = layui.laypage, layer = layui.layer; //独立版的layer无需执行这一句   

});



function openChuang(title,url){

	 var othis = $(this), method = othis.data('method');

    //多窗口模式，层叠置顶

      layer.open({

        type: 2 //此处以iframe举例

        ,title: title

        ,area: ['100%', '100%']

        ,shade: 0

        ,maxmin: true

        ,offset: [ //为了演示，随机坐标

          $(window).height()-$(window).height()

          ,$(window).width()-$(window).width()

        ] 

        ,content: url      

      });  

}
</script>

</body>  

</html>  

